package com.zking.ssm.He.model;


import lombok.Data;

@Data
public class Category {
    private Short id;

    private String name;

    private Short pid;

    private String img;

    private Byte isShowIndex;

    private Short sort;

    public Category(Short id, String name, Short pid, String img, Byte isShowIndex, Short sort) {
        this.id = id;
        this.name = name;
        this.pid = pid;
        this.img = img;
        this.isShowIndex = isShowIndex;
        this.sort = sort;
    }

    public Category() {
        super();
    }

    public Short getId() {
        return id;
    }

    public void setId(Short id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Short getPid() {
        return pid;
    }

    public void setPid(Short pid) {
        this.pid = pid;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public Byte getIsShowIndex() {
        return isShowIndex;
    }

    public void setIsShowIndex(Byte isShowIndex) {
        this.isShowIndex = isShowIndex;
    }

    public Short getSort() {
        return sort;
    }

    public void setSort(Short sort) {
        this.sort = sort;
    }
}